<div el-container direction="vertical" class="demo-box">
  <div el-header>
    <h2 style="clear: both;float: left;" > EasyQuant - 简单量化 </h2>

    <div style="float: right;display: inline-flex;" >
      <el-menu [model]="0" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="0" >首页</el-menu-item>
      </el-menu>

      <el-menu [model]="1" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="1" >我的策略</el-menu-item>
      </el-menu>

      <el-menu [model]="2" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="2" >我的交易</el-menu-item>
      </el-menu>

      <el-menu [model]="3" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="3" >API文档</el-menu-item>
      </el-menu>

      <el-menu [model]="4" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="4" >注册</el-menu-item>
      </el-menu>

      <el-menu [model]="5" (modelChange)="ngOnActiveLink($event)" mode="horizontal">
        <el-menu-item index="5" >登录</el-menu-item>
      </el-menu>
    </div>
  </div>
  <div el-main>
    <router-outlet></router-outlet>
  </div>
</div>
